package com.kylinhunter.ui.common.plugin;

import javax.swing.JMenuItem;

public class PluginMenuItem extends PluginUIComponent{
	private JMenuItem menuItem=null;
	
	
	
	public PluginMenuItem(String name,String resource) {
		super(name,resource);		
		this.menuItem = new JMenuItem(name);
	}
	public JMenuItem getMenuItem() {
		return menuItem;
	}
	public void setMenuItem(JMenuItem menuItem) {
		this.menuItem = menuItem;
	}
	
	 
	public void setText(String text) {
		// TODO Auto-generated method stub
		this.menuItem.setText(text);
	}
	 
	

}
